package biz.bbtec.sbm.issuetracking.factory;

import biz.bbtec.sbm.issuetracking.service.TaskService;

public class TaskFactory {
	private static TaskFactory instance;
	private TaskService Task;

	private TaskFactory() {
		Task = new TaskService();
	}

	public static synchronized TaskFactory getInstance() {

		if (instance == null) {
			instance = new TaskFactory();
		}
		return instance;
	}

	public TaskService creatTaskService() {
		return Task;
	}
}
